﻿// Copyright 2009 - Johan de Koning (top2onenote@johandekoning.nl)
// 
// This file is part of the Top2OneNote AddIn
// The Top2OneNote AddIn is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
// 
// The Top2OneNote AddIn Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Top2OneNoteAddIn
{
    public class WindowWrapper : System.Windows.Forms.IWin32Window
    {
        private IntPtr _hwnd;

        public WindowWrapper(IntPtr handle)
        {
            _hwnd = handle;
        }

        #region IWin32Window Members

        public IntPtr Handle
        {
            get { return _hwnd; }
        }

        #endregion
    }
}